package cn.boat.router.models;


import lombok.Data;

/**
 * Broker信息
 */
@Data
public class Broker {
    private int brokerId;
    private String brokerHost;
    private int brokerPort;

    public Broker() {
    }

    public Broker(int brokerId, String brokerHost, int brokerPort) {
        this.brokerId = brokerId;
        this.brokerHost = brokerHost;
        this.brokerPort = brokerPort;
    }

    public int getBrokerId() {
        return brokerId;
    }

    public void setBrokerId(int brokerId) {
        this.brokerId = brokerId;
    }

    public String getBrokerHost() {
        return brokerHost;
    }

    public void setBrokerHost(String brokerHost) {
        this.brokerHost = brokerHost;
    }

    public int getBrokerPort() {
        return brokerPort;
    }

    public void setBrokerPort(int brokerPort) {
        this.brokerPort = brokerPort;
    }

}
